package hm2;

public class Minibus extends Truck{
    int passenger;
    public Minibus(int wheels, double weight, int load,int passenger) {
        super(wheels, weight, load);
        this.passenger = passenger;
    }

    @Override
    public void show() {
        System.out.println("\n子车型：面包车");
        super.show();
        System.out.printf("载人数:%d\n",passenger);
    }
}
